<html>
<body>
Reports when parent and child classes in a JUnit test hierarchy are annotated with <code>@RunWith</code>.
It can lead to unexpected testing behavior.
<p><b>Example:</b></p>
<pre><code lang="java">
  @RunWith(Suite.class)
  @SuiteClasses(MySuiteClass.class)
  public abstract Parent {
  }

  @RunWith(Parameterized.class)
  public MyTest {
  }
</code></pre>

<!-- tooltip end -->
<p>
  <small>New in 2024.1</small>
</p>
</body>
</html>